#include "ray.hpp"

Ray::Ray(const Vector& _origin,const Vector& _direction = Vector(0.0,0.0,0.0)) : origin(_origin), direction(_direction)
{ }

Ray::Ray(void) : origin(Vector(0.0,0.0,0.0)), direction(Vector(0.0,0.0,0.0)) 
{ }


Ray::~Ray(void) { }

void Ray::set_origin(const Vector& _origin) { origin = _origin; }	

void Ray::set_direction(const Vector& _direction) { direction = _direction; }

Vector Ray::get_origin(void) const { return origin; }

Vector Ray::get_direction(void) const { return direction; }
